package com.ruoyi.system.service;

import com.ruoyi.system.domain.KfnWorkOrderStoreAdidas;
import com.ruoyi.system.domain.vo.KfnWorkOrderStoreAdidasVo;
import com.ruoyi.system.domain.bo.KfnWorkOrderStoreAdidasBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 工单Service接口
 *
 * @author Panda
 * @date 2023-12-21
 */
public interface IKfnWorkOrderStoreAdidasService {

    /**
     * 查询工单
     */
    KfnWorkOrderStoreAdidasVo queryById(Long storeId);

    /**
     * 查询工单列表
     */
    TableDataInfo<KfnWorkOrderStoreAdidasVo> queryPageList(KfnWorkOrderStoreAdidasBo bo, PageQuery pageQuery);

    /**
     * 查询工单列表
     */
    List<KfnWorkOrderStoreAdidasVo> queryList(KfnWorkOrderStoreAdidasBo bo);

    /**
     * 新增工单
     */
    Boolean insertByBo(KfnWorkOrderStoreAdidasBo bo);

    /**
     * 修改工单
     */
    Boolean updateByBo(KfnWorkOrderStoreAdidasBo bo);

    /**
     * 校验并批量删除工单信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
